# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

source ’https://github.com/CocoaPods/Specs.git’
source 'https://gitee.com/mobad/Specs.git'
source 'https://cdn.cocoapods.org/'

need_otherlinkerflags_frameworks = ['RxRelay','RxSwift','RxCocoa', 'SnapKit']
post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
          config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
          if need_otherlinkerflags_frameworks.include?(target.name)
            config.build_settings['OTHER_LDFLAGS'] = '-Wl,-weak-lswiftCoreGraphics'
          end
        end
    end
end

target 'YMMedical' do
  
  platform :ios, '12.0'
  use_frameworks!
  inhibit_all_warnings!
  
  pod 'SnapKit', '~> 5.0.1'
  pod 'RxSwift', '~> 5.1.1'
  pod 'RxCocoa', '~> 5.1.1'
  
  pod 'MJRefresh'
  pod 'SDWebImage'
  pod 'Masonry'
  pod 'AFNetworking'
  pod 'IQKeyboardManager'
  pod 'UITableView+FDTemplateLayoutCell'
  pod 'SDCycleScrollView'
  pod 'YYKit'
  #阿里云
  pod 'AliyunOSSiOS'
  pod 'Bugly'
  
  pod 'ZFPlayer', '~> 4.0'
  pod 'ZFPlayer/ControlView', '~> 4.0'
  pod 'ZFPlayer/AVPlayer', '~> 4.0'
  pod 'FSCalendar', '~> 2.8.4'
  
  pod 'Charts', '~> 4.1.0'
  pod 'lottie-ios', '~> 4.0.1'
  
end
